class Entry < ActiveRecord::Base
  has_many   :messages, :order         => 'id DESC'
  has_many   :comments
  has_many   :trackbacks
  belongs_to :resource, :polymorphic   => true
  belongs_to :holder,   :counter_cache => true
  belongs_to :weblog
  belongs_to :user,     :counter_cache => true
  acts_as_list          :scope         => :holder
end
